package June02;

public class T02AdminStaff extends T02Employee{
    private String duty;

    public T02AdminStaff() {}

    public T02AdminStaff(String name, Integer id, double salary, String work, double vacation, String duty) {
        super(name, id, salary, work, vacation);
        this.duty = duty;
    }

    @Override
    public String toString() {
        return super.toString()+"\t职务:"+duty;
    }
}
